package com.seckill.act.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 * @author 作者
 * @since 2022-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_seckill_time")
////@ApiModel(value="SeckillTime", description="")
public class SeckillTime implements Serializable {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    ////@ApiModelProperty(value = "秒杀分类名字,双十一秒杀，每日时段秒杀等")
    @TableField("name")
    private String name;

    ////@ApiModelProperty(value = "开始时间")
    //@JsonFormat(pattern = "HH:mm")
    @TableField("starttime")
    private String starttime;

    ////@ApiModelProperty(value = "结束时间")
    //@JsonFormat(pattern = "HH:mm")
    @TableField("endtime")
    private String endtime;

    ////@ApiModelProperty(value = "秒杀时长,按小时计算")
    @TableField("total_time")
    private Float totalTime;

    ////@ApiModelProperty(value = "是否启用，1：启用，2：停用")
    @TableField("status")
    private Integer status;

    @TableField("sort")
    private Integer sort;


}
